import request from './index'

// 根据酒店id(X-Tenant)和临时登录凭证 获取该酒店支持的支付方式
export interface INF_GetPayClass_res {
  readonly Id: number
  readonly Name: string
  JfFlag?: boolean
  Enabled?: boolean
  DelFlag?: boolean
  ARFlag?: boolean
  Cash?: boolean
}
export const defaultPayClass: INF_GetPayClass_res = {
  Name: '现金',
  Id: 1000
}
export function GetPayClass() {
  return request({
    url: '/System/GetPayClass'
  })
}
